package cn.dhnep.demo.mapper;

import cn.dhnep.demo.pojo.Earnings;
import cn.dhnep.demo.pojo.Order;
import cn.dhnep.demo.pojo.Recharge;
import cn.dhnep.demo.pojo.Withdraw;
import cn.dhnep.demo.util.Page;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dhn
 * @since 2021-08-19
 */
public interface WithdrawMapper extends BaseMapper<Withdraw> {

    //提现订单查询分页数据
    List<Withdraw> selectPageList(Page page);
    //提现订单分页数据总数
    Integer selectPageCount(Page page);

    //充值订单查询分页数据
    List<Recharge> selectRechargePageList(Page page);
    //充值订单分页数据总数
    Integer selectRechargePageCount(Page page);


    //支付记录查询分页数据
    List<Earnings> selectEarningsPageList(Page page);
    //支付记录分页数据总数
    Integer selectEarningsPageCount(Page page);

}
